.custom-footer.elements-4 {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  align-items: flex-start;
}

.custom-footer__articles,
.custom-footer__contact,
.custom-footer__instagram,
.custom-footer__facebook {
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 0;
  margin: 0 !important;
  padding: 14px !important;
  border: 1px solid #eadbce !important;
  border-radius: 16px !important;
  background-color: #f5eee7 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.custom-footer__articles .pageElement__heading,
.custom-footer__contact .pageElement__heading,
.custom-footer__instagram .pageElement__heading,
.custom-footer__facebook .pageElement__heading {
  margin-top: 0;
}

.custom-footer__facebook #facebookWidget,
.custom-footer__facebook #fb-widget-wrap,
.custom-footer__facebook iframe {
  box-sizing: border-box;
  max-width: 100% !important;
}

@media (max-width: 767px) {
  .custom-footer.elements-4 {
    flex-direction: column !important;
    gap: 14px !important;
  }

  .custom-footer__articles,
  .custom-footer__contact,
  .custom-footer__instagram,
  .custom-footer__facebook {
    flex: 0 0 auto;
    width: calc(100% - 24px) !important;
    margin: 0 auto !important;
    padding: 12px !important;
    border-radius: 14px !important;
  }
}